﻿@model ThesisSystem.Models.Target

@{
    ViewBag.Title = "编辑指标";
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<link href="../../Content/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
<link href="../../Content/CSS/searchstyle.css" rel="stylesheet" type="text/css" />
<style type="text/css">
    #Summary
    {
        width: 80%;
        padding-left: 0;
        text-align: left;
    }
    th
    {
        padding-right: 0;
    }
    td
    {
        padding-left: 0;
        text-align: left;
    }
    #Content
    {
        width: 475px;
        height:100px;
    }
</style>
<div class="Search_thesis">
    <h3>
        指标编辑</h3>
    @using (Html.BeginForm())
    {
        @Html.ValidationSummary(true)
        <div class="sch_area">
            <div class="Create_thesis">
                <table cellpadding="13px">
                    <tr>
                        <th style="text-align: right;">
                            <span>指标概括: </span>
                        </th>
                        <td colspan="3" style="text-align: left;">
                            @Html.EditorFor(model => model.Summary)
                            @Html.ValidationMessageFor(model => model.Summary)
                        </td>
                    </tr>
                    <tr>
                        <th style="text-align: right;">
                            <span>指标内容 : </span>
                        </th>
                        <td colspan="3">
                            @Html.TextAreaFor(model => model.Content)
                            @Html.ValidationMessageFor(model => model.Content)
                        </td>
                    </tr>
                    <tr>
                    <th style="text-align: right;">
                        <span>适用学科 : </span>
                    </th>
                    <td>
           
             @Html.DropDownList("TypeName",Model.TypeName)
            @Html.ValidationMessageFor(model => model.TypeName)
                    </td>
                    <th style="text-align: right;">
                        <span>指标权重 : </span>
                    </th>
                    <td>
            @Html.DropDownList("weight",Model.Weight.ToString())
            @Html.ValidationMessageFor(model => model.Weight)
                    </td>
                      
                    <th>
                    
                    </th><td></td>
                    
                    </tr>
                </table>
            </div>
        </div>
        <br style="clear: both;" />
            
        <p align="center" style="height: 30px; border: 1px solid #c3e1c9; margin: 1px; padding: 1px;clear: left">
            <input type="submit" value="提交" id="CreateSubmit" />
    <input type="button" onclick="javascript:window.history.go(-1);" value="返回上一页" id="Back" />
        </p> 
    }
</div>
@Content.Script("jquery-min.js", Url)
@Content.Script("jquery-ui-min.js", Url)
<script type="text/javascript">

    $("#CreateSubmit").button();
    $("#Back").button();
</script>
